/* 用户管理弹窗样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  transition: all 0.3s ease;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 24px;
  width: 600px;
  max-width: 90%;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}
.modal-content h5 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal-content label {
  font-weight: bold;
  color: #34495e;
}
.modal-content input, .modal-content select {
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}
.modal-content input:focus, .modal-content select:focus {
  border-color: #3498db;
  outline: none;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.modal-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.modal-actions .btn-primary {
  background: #3498db;
  color: white;
}
.modal-actions .btn-secondary {
  background: #95a5a6;
  color: white;
}
.modal-actions .btn-primary:hover {
  background: #2980b9;
}
.modal-actions .btn-secondary:hover {
  background: #7f8c8d;
}
.user-mgmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.user-table th, .user-table td {
  text-align: center;
  vertical-align: middle;
}
.user-status.text-success {
  color: #2ecc71;
}
.user-status.text-danger {
  color: #e74c3c;
}

.search-filter-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-filter-container input,
.search-filter-container select {
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.search-filter-container input:focus,
.search-filter-container select:focus {
  border-color: #3498db;
  outline: none;
}

.permission-mgmt-header {
  margin-bottom: 20px;
}

.role-permission-container,
.user-role-container {
  margin-bottom: 20px;
}

.permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.permission-list label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.permission-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
}

.system-config-header {
  margin-bottom: 20px;
}

.system-config-container,
.system-logs-container {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #34495e;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-group input:focus {
  border-color: #3498db;
  outline: none;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.system-logs-container table {
  width: 100%;
  border-collapse: collapse;
}

.system-logs-container th,
.system-logs-container td {
  padding: 10px;
  border: 1px solid #bdc3c7;
  text-align: left;
}

.system-logs-container th {
  background: #f8f9fa;
  font-weight: bold;
  color: #34495e;
}

.welcome-container {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  padding: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in;
}

.welcome-title i {
  color: #3498db;
  margin-right: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}